package com.etheart.music.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.etheart.model.entity.Album;

public interface AlbumService {

	public  List<Album> findAll();

	@Transactional
	public  void addAlbum(Album album);
 
	@Transactional
	public  void updateAlbum(Album album);

	@Transactional
	public  void deleteAlbum(Album album);

	public  Album findById(long albumId);

	public Album findByNetId(String albumNetId);

	public Album findByFormUrl(String fromUrl);

}